const { Sequelize } = require("sequelize");
const { sqllog } = require('./logger')
const sequelize = new Sequelize("schooldb", "root", "123456", {
    host: "localhost",
    dialect: "mysql",
    logging: msg => {
        sqllog.info(msg)
    }
});
module.exports = sequelize;
